  
  
<div class="col-sm-12 mt20">
     <div class="panel">
           <div class="panel-body">
                <div class="col-sm-12">
			         <div class="row">			        
							<div class="col-sm-2">
                                  <input type="text" class="form-control" ng-model="searchform.pool_code" placeholder="卡池编号">
							</div>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" ng-model="searchform.pool_name" placeholder="卡池名称">
                            </div>
                            <div class="col-sm-2">
                                 <input type="text" class="form-control" ng-model="searchform.company_code" placeholder="机构编号">
                            </div>
                            <div class="col-sm-2">
                                 <input type="text" class="form-control" ng-model="searchform.update_by" placeholder="登录账号">
                            </div>
			                 <div class="col-sm-2">
                          <input type="text" class="form-control" ng-model="searchform.card_num" placeholder="卡号">
                       </div>
                              
                             <div class="col-sm-2">
                               <input type="button " class="btn btn-info search form-control" ng-click="search()" value="立即搜索">
                            </div>
			         </div>
                    
                     <div class="row mt10">
								<div class="col-sm-8">
                </div>
                <div class="col-sm-2">
                    <input type="button " class="btn btn-info search form-control" ng-click="relief()" value="释放卡">
                </div>
								<div class="col-sm-2">
									<input type="button " class="btn btn-info search form-control"  ng-click="addcardpool()" value="创建卡池">

								</div>
					</div>			
                </div>
          </div>
     </div>



    <div class="panel panel-default table-responsive">
     <div class="panel-body">
    <table ng-click="getlist()" class="table table-hover table-bordered">
	    <thead>
	      <tr>
	        <th class="col-md-2 text-center">卡池编号</th>
	        <th class="col-md-3 text-center">卡池名称</th>
	        <th class="col-md-1 text-center">卡池类型</th>
	        <th class="col-md-2 text-center">操作时间</th>
	        <th class="col-md-2 text-center">操作账号</th>
	        <th class="col-md-2 text-center">操作</th>
	      </tr>
	    </thead>
	    <tbody>
	    	<tr ng-repeat = "cardpool in cardpoollists">
	        <td class="text-center">{{cardpool.pool_code}}</td>
	        <td class="text-center">{{cardpool.pool_name}}</td>
	        <td class="text-center">{{cardpool.pool_type_name}}</td>
	        <td class="text-center">
	        	{{cardpool.update_time}}
	        </td>
	        <td class="text-center">
	        	{{cardpool.company_name}}<br>
         		{{cardpool.company_code}}<br>
         		{{cardpool.update_by}}
	        </td>
	        <td class="text-center">
	        	<a ng-click="add(cardpool.pool_code)" class="btn btn-success btn-xs">添加卡</a>
	        	<!-- <a ng-click="relief(cardpool.pool_code)" class="btn btn-danger btn-xs">释放卡</a><br> -->
	        	<button type="button" class="btn btn-warning btn-xs" ng-click="addcardpool(cardpool)">编辑</button>
	        	<a ng-click="release(cardpool.pool_code)" class="btn btn-info btn-xs">卡池详情</a>
	        	<a ng-click="active(cardpool.pool_code)" class="btn btn-warning btn-xs">自动激活</a>
	        </td>
	      </tr>
	    </tbody>
	</table>
 	    



    <div class="text-right">
    <pagination 
      total-items="bigTotalItems" 
      ng-model="bigCurrentPage" 
      max-size="maxSize" 
      class="pagination-sm" 
      boundary-links="true" 
      ng-change="search()"
      items-per-page="itemsPerPage"
      previous-text="上一页"
      next-text="下一页"
      first-text="首页"
      last-text="末页"
      rotate="false">
    </pagination>
    </div> 
  
    </div>
   </div>
